package iedcyt.acute.controller.listeners.errorLog;

import iedcyt.acute.model.AuthorMergeModel;
import iedcyt.acute.model.ErrorLogModel;
import iedcyt.acute.view.AuthorMergeView;
import iedcyt.acute.view.ErrorLogView;

import org.eclipse.swt.widgets.Event;
import org.eclipse.swt.widgets.Listener;

public class ErrorLogSelectionListener extends ErrorLogCommonListener implements Listener {

	public ErrorLogSelectionListener(ErrorLogView view, ErrorLogModel model) {
		super(view, model);
	
	}

	public void handleEvent(Event event) {
		Integer iderror = _view.getSelectedErrorID();
		_model.setSelected_errorId(iderror);
		
	}
}
